package com.ruoyi.staff.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工合同对象 staff_contract
 * 
 * @author bzs
 * @date 2021-06-28
 */
public class StaffContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stfName;

    /** 工号 */
    private Long stfId;

    /** 部门 */
    @Excel(name = "部门")
    private String stfDep;

    /** 证件号 */
    @Excel(name = "证件号")
    private Long stfIdCard;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private Long stfContractId;

    /** 合同公司 */
    @Excel(name = "合同公司")
    private String stfContractCompany;

    /** 合同类型 */
    @Excel(name = "合同类型")
    private String stfContractType;

    /** 期限类型 */
    @Excel(name = "期限类型")
    private String stfDeadlineType;

    /** 合同开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfContractStartDate;

    /** 合同结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfContractEndDate;

    /** 合同签订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同签订日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfContractSignDate;

    /** 合同中止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同中止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stfContractTerminateDate;

    /** 合同已签订次数 */
    @Excel(name = "合同已签订次数")
    private Integer stfContractSignCount;

    /** 续签审批状态（1已审批 0未审批） */
    @Excel(name = "续签审批状态", readConverterExp = "1=已审批,0=未审批")
    private String stfExamineStatus;

    /** 合同状态（0=正常,1=临期,2=过期） */
    @Excel(name = "合同状态", readConverterExp = "0=正常,1=临期,2=过期")
    private String stfContractStatus;

    /**合同路径*/
    @Excel(name = "合同路径")
    private String stfContractPath;


    @Override
    public String toString() {
        return "StaffContract{" +
                "stfName='" + stfName + '\'' +
                ", stfId='" + stfId + '\'' +
                ", stfDep='" + stfDep + '\'' +
                ", stfIdCard=" + stfIdCard +
                ", stfContractId=" + stfContractId +
                ", stfContractCompany='" + stfContractCompany + '\'' +
                ", stfContractType='" + stfContractType + '\'' +
                ", stfDeadlineType='" + stfDeadlineType + '\'' +
                ", stfContractStartDate=" + stfContractStartDate +
                ", stfContractEndDate=" + stfContractEndDate +
                ", stfContractSignDate=" + stfContractSignDate +
                ", stfContractTerminateDate=" + stfContractTerminateDate +
                ", stfContractSignCount=" + stfContractSignCount +
                ", stfExamineStatus='" + stfExamineStatus + '\'' +
                ", stfContractStatus='" + stfContractStatus + '\'' +
                ", stfContractPath='" + stfContractPath + '\'' +
                '}';
    }

    public void setStfName(String stfName)
    {
        this.stfName = stfName;
    }

    public String getStfName()
    {
        return stfName;
    }

    public Long getStfId() {
        return stfId;
    }

    public void setStfId(Long stfId) {
        this.stfId = stfId;
    }

    public void setStfDep(String stfDep)
    {
        this.stfDep = stfDep;
    }

    public String getStfDep() 
    {
        return stfDep;
    }
    public void setStfIdCard(Long stfIdCard) 
    {
        this.stfIdCard = stfIdCard;
    }

    public Long getStfIdCard() 
    {
        return stfIdCard;
    }
    public void setStfContractId(Long stfContractId) 
    {
        this.stfContractId = stfContractId;
    }

    public Long getStfContractId() 
    {
        return stfContractId;
    }
    public void setStfContractCompany(String stfContractCompany) 
    {
        this.stfContractCompany = stfContractCompany;
    }

    public String getStfContractCompany() 
    {
        return stfContractCompany;
    }
    public void setStfContractType(String stfContractType) 
    {
        this.stfContractType = stfContractType;
    }

    public String getStfContractType() 
    {
        return stfContractType;
    }
    public void setStfDeadlineType(String stfDeadlineType) 
    {
        this.stfDeadlineType = stfDeadlineType;
    }

    public String getStfDeadlineType() 
    {
        return stfDeadlineType;
    }
    public void setStfContractStartDate(Date stfContractStartDate) 
    {
        this.stfContractStartDate = stfContractStartDate;
    }

    public Date getStfContractStartDate() 
    {
        return stfContractStartDate;
    }
    public void setStfContractEndDate(Date stfContractEndDate) 
    {
        this.stfContractEndDate = stfContractEndDate;
    }

    public Date getStfContractEndDate() 
    {
        return stfContractEndDate;
    }
    public void setStfContractSignDate(Date stfContractSignDate) 
    {
        this.stfContractSignDate = stfContractSignDate;
    }

    public Date getStfContractSignDate() 
    {
        return stfContractSignDate;
    }
    public void setStfContractTerminateDate(Date stfContractTerminateDate) 
    {
        this.stfContractTerminateDate = stfContractTerminateDate;
    }

    public Date getStfContractTerminateDate() 
    {
        return stfContractTerminateDate;
    }
    public void setStfContractSignCount(Integer stfContractSignCount) 
    {
        this.stfContractSignCount = stfContractSignCount;
    }

    public Integer getStfContractSignCount() 
    {
        return stfContractSignCount;
    }
    public void setStfExamineStatus(String stfExamineStatus) 
    {
        this.stfExamineStatus = stfExamineStatus;
    }

    public String getStfExamineStatus() 
    {
        return stfExamineStatus;
    }
    public void setStfContractStatus(String stfContractStatus) 
    {
        this.stfContractStatus = stfContractStatus;
    }

    public String getStfContractStatus() 
    {
        return stfContractStatus;
    }

    public String getStfContractPath() {
        return stfContractPath;
    }

    public void setStfContractPath(String stfContractPath) {
        this.stfContractPath = stfContractPath;
    }


}
